module namespace movieorder = "http://www.xmlproject.com/smi/movieorder";

import module namespace http ="http://www.28msec.com/modules/http";

(: VIEW :)
import module namespace resultview = "http://www.xmlproject.com/smi/lib/view/resultview";

(: CONTROLLER :)
import module namespace getinfo = "http://www.xmlproject.com/smi/lib/controller/getinfo";


declare sequential function movieorder:showmovie() {
let $s := ""
return resultview:moviesOrder();     
};

declare sequential function movieorder:showmovieyear() {
let $s := ""
return resultview:moviesOrderYear();     
};
(:~
 : handler for the search api. Pass the search term as query parameter.  
 :
 : @return returns the search results from youtube rendered in an HTML table 
:)